package de.unidue.masterproject.plugin.classes_literaturplugin;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

@DatabaseTable
public class Article extends Literature{
	
	@DatabaseField
	private String magazine;
	@DatabaseField
	private String pages;
	
	public Article(String author, int year, String title, String comment, String magazine, String pages){
		super(author, year, title, comment);
		this.magazine = magazine;
		this.pages = pages;
	}

	public String getMagazine() {
		return magazine;
	}

	public void setMagazine(String magazine) {
		this.magazine = magazine;
	}

	public String getPages() {
		return pages;
	}

	public void setPages(String pages) {
		this.pages = pages;
	}
	
	
	public Article(){}
	
}
